{% extends '@App/Layout.html.twig' %}
{% set seek_active=1 %}

{% block body %}
    <div class="jumbotron">
        <div class="container">
            <hgroup>
                <h1>[ 提 供 线 索 ]</h1>
                <h4>如果您有线索，请提供给我们，好人一生平安！</h4>
            </hgroup>
        </div>
    </div>
    <div id="clue">
        <form action="{{ path('note_clue') }}" method="POST"  enctype="multipart/form-data">
            <h1>提供线索</h1>
            <h4>请填写以下表单，有助于信息检索与收集！</h4>
            <div class="form-group form-inline">
                <div class="row" >
                    <div class="col-lg-2 col-md-2 col-xs-2 col-sm-2" style="padding: 0">
                        <label for="full_name">疑似失联人姓名</label>
                    </div>
                    <div class="col-lg-10 col-md-10 col-xs-10 col-sm-10" style="padding: 0">
                        <input type="text" class="form-control" id="full_name" name="full_name" placeholder="full_name" {#value="{{ person.full_name }}"#}>
                    </div>
                </div>
            </div>
            <div class="form-group form-inline">
                <div class="row" >
                    <div class="col-lg-2 col-md-2 col-xs-2 col-sm-2" style="padding: 0">
                        <label for="status">失联人状态</label>
                    </div>
                    <div class="col-lg-10 col-md-10 col-xs-10 col-sm-10" style="padding: 0">
                        <input type="text" class="form-control" id="status" name="status" placeholder="status" {#value="{{ person.home_country }}"#}>
                    </div>
                </div>
            </div>
            <div class="form-group form-inline">
                <div class="row" >
                    <div class="col-lg-2 col-md-2 col-xs-2 col-sm-2" style="padding: 0">
                        <label for="photo_url">是否拍摄到照片</label>
                    </div>
                    <div class="col-lg-10 col-md-10 col-xs-10 col-sm-10" style="padding: 0">
                        <input type="file" id="photo_url" name="photo_url">
                        <p class="help-block">Example block-level help text here.photo_url</p>
                    </div>
                </div>
            </div>
            <div class="form-group form-inline">
                <div class="row" >
                    <div class="col-lg-2 col-md-2 col-xs-2 col-sm-2" style="padding: 0">
                        <label for="last_known_location">最后一个已知位置</label>
                    </div>
                    <div class="col-lg-10 col-md-10 col-xs-10 col-sm-10" style="padding: 0">
                        <input type="text" class="form-control" id="last_known_location" name="last_known_location" placeholder="last_known_location" {#value="{{ person.alternate_names }}"#}>
                    </div>
                </div>
            </div>
            <div class="form-group form-inline">
                <div class="row" >
                    <div class="col-lg-2 col-md-2 col-xs-2 col-sm-2" style="padding: 0">
                        <label for="text">补充说明</label>
                    </div>
                    <div class="col-lg-10 col-md-10 col-xs-10 col-sm-10" style="padding: 0">
                        <input type="text" class="form-control" id="text" name="text" placeholder="text" {#value="{{ person.age }}"#}>
                    </div>
                </div>
            </div>
            <div class="form-group form-inline">
                <div class="row" >
                    <div class="col-lg-2 col-md-2 col-xs-2 col-sm-2" style="padding: 0">
                        <label for="author_name">发现人姓名</label>
                    </div>
                    <div class="col-lg-10 col-md-10 col-xs-10 col-sm-10" style="padding: 0">
                        <input type="text" class="form-control" id="author_name" name="author_name"  {#placeholder="author_name"#} >
                        <span id="helpblock" class="help-block">请尽量留下您的真实姓名！</span>
                    </div>
                </div>
            </div>
            <div class="form-group form-inline">
                <div class="row" >
                    <div class="col-lg-2 col-md-2 col-xs-2 col-sm-2" style="padding: 0">
                        <label for="email_of_found_person">发现人邮箱</label>
                    </div>
                    <div class="col-lg-10 col-md-10 col-xs-10 col-sm-10" style="padding: 0">
                        <input type="text" class="form-control" id="email_of_found_person" name="email_of_found_person" placeholder="email_of_found_person" {#value="{{ person.author_email }}"#}>
                        <span id="helpblock" class="help-block">请留下您的邮箱，方便亲人与您联系！</span>
                    </div>
                </div>
            </div>
            <div class="form-group form-inline">
                <div class="row" >
                    <div class="col-lg-2 col-md-2 col-xs-2 col-sm-2" style="padding: 0">
                        <label for="phone_of_found_person">发现人联系方式</label>
                    </div>
                    <div class="col-lg-10 col-md-10 col-xs-10 col-sm-10" style="padding: 0">
                        <input type="text" class="form-control" id="phone_of_found_person" name="phone_of_found_person" placeholder="phone_of_found_person" {#value="{{ person.author_phone }}"#}>
                        <span id="helpblock" class="help-block">请留下您的联系方式，方便亲人与您联系！</span>
                    </div>
                </div>
            </div>
            <div class="checkbox">
                <label style="width: 100%;text-align: center;padding-top: 15px;">
                    <input type="checkbox" name="checkbox" checked>承诺以上发布信息真实可靠！
                </label>
            </div>
            <input type="submit" class="btn btn-primary btn-lg " id="btn" value="提交">
        </form>
     </div>
{% endblock %}
